home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12596 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: peteazzo@aol.com (Peter Azzopardi)
  3. Newsgroups: comp.lang.basic.misc,comp.lang.basic.visual.misc,comp.lang.c,comp.lang.c++,comp.os.ms-windows.apps.comm,comp.os.ms-windows.apps.word-proc,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.mfc,comp.windows.misc
  4. Subject: Re: Help finding contents of current directory.
  5. Date: Thu, 21 Mar 1996 04:12:40 GMT
  6. Organization: UnipalmPIPEX server (post doesn't reflect views of UnipalmPIPEX)
  7. Message-ID: <4ipons$b3g@soap.news.pipex.net>
  8. References: <4ho68l$qhi@ruby.digisys.net> <4hrjt1$jpr@news.microsoft.com> <3149D3CC.7D67@gate.net> <4ik34p$gdn@juliana.sprynet.com> <4imv0g$s92@hasle.sn.no> <4ip12o$13k_002@news.jagunet.com>
  9. NNTP-Posting-Host: am075.du.pipex.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. I can't remember exactly what you do, but under Borland C++
  13. you use the dir.h header file and the findfirst() and findnext()
  14. functions to read the selected entries in a directory.
  15.  
  16. timmins@jagunet.com (David Timmins) wrote:
  17.  
  18. >In article <4imv0g$s92@hasle.sn.no>, balchen@sn.no wrote:
  19. >>76003.3021@compuserve.com (Bill Mageors)'s cats typed:
  20. >>
  21. >>>>I am trying to get a listing of the files in the current directory. I realize
  22. >> I 
  23. >>>>will have to use 
  24. >>>>stat to determin wether it is a file or a directory.  But how do I find out
  25. >> what
  26. >>
  27. >>>Simply.. just drop to a dos prompt and use command cd\windows or what ever 
  28. >>>the name of the directory is then the "dir" command to list files and sub 
  29. >>>directorys or dir/p to pause every 24 lines.
  30. >>
  31. >>*ahem*
  32. >>This is a programming group, remember?
  33. >>
  34.  
  35. >*ahem*
  36.  
  37. > Give it a rest "Jens".  It's just a simple piece of advice taking up no more 
  38. >bandwith than your reply.
  39.  
  40. >We don't need a newsgroup police here.
  41.  
  42.  
  43.  
  44.  
  45.